#pragma once
#include <stddef.h>

typedef enum {
    AT_OK,
    AT_ERROR,
    AT_TIMEOUT,
    AT_UNKNOWN
} at_status_t;

typedef struct {
    const char* cmd;
    const char* resp;
    uint32_t timeout_ms;
} at_command_t;

at_status_t at_parse_response(const char* expected, const char* actual);
const char* at_generate_command(const char* format, ...);
